/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.kj.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.kj.entity.KjTiming;
import com.jeesite.modules.kj.dao.KjTimingDao;

/**
 * kj_timingService
 * @author LJ
 * @version 2022-07-20
 */
@Service
@Transactional(readOnly=true)
public class KjTimingService extends CrudService<KjTimingDao, KjTiming> {
	
	/**
	 * 获取单条数据
	 * @param kjTiming
	 * @return
	 */
	@Override
	public KjTiming get(KjTiming kjTiming) {
		return super.get(kjTiming);
	}
	
	/**
	 * 查询分页数据
	 * @param kjTiming 查询条件
	 * @param kjTiming.page 分页对象
	 * @return
	 */
	@Override
	public Page<KjTiming> findPage(KjTiming kjTiming) {
		return super.findPage(kjTiming);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param kjTiming
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(KjTiming kjTiming) {
		super.save(kjTiming);
	}
	
	/**
	 * 更新状态
	 * @param kjTiming
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(KjTiming kjTiming) {
		super.updateStatus(kjTiming);
	}
	
	/**
	 * 删除数据
	 * @param kjTiming
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(KjTiming kjTiming) {
		super.delete(kjTiming);
	}
	
}